package com.david.system.pojo.Entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserEntity {

    private Long id;
    private String username;
    private String name;
    private String password;
    private String email;
    private boolean enabled = true;
    private String gender;
    private String phone;
    private String code;
    private String status;
    private Integer deptId;
    private Integer jobId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
